﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Passport.Domain
{
    [Table("WarehouseModel")]
    public class WarehouseModel
    {
        [Key]
        public int WarehouseId { get; set; }
        /// <summary>
        /// 随机的仓库编号
        /// </summary>
        public string ?WarehouseNumber { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }

        /// <summary>
        /// 是否禁用该库位
        /// </summary>
        public bool ?Disable { get; set; }

        /// <summary>
        /// 关联的仓库编号
        /// </summary>
        public int ?WHouseId { get; set; }

        /// <summary>
        /// 库位类型编号
        /// </summary>
        public int ?WHouseTypeId { get; set; }

        /// <summary>
        /// 是否为默认库位
        /// </summary>
        public bool ?Defaultnot { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool ?isdelete { get; set; } = false;
    }
}